<template>
    <view class="content">
        <view class="wrapper">
			<view class="item" v-for="(item, index) in 5" :key="index" @click="toDetails(item)">
				<view class="num" :class="{active : index == 0 || index == 1 || index == 2}">
					{{ index + 1 }}
				</view>
				<view class="title">使用分期收不收手续费使用分期收不收手续费使用分期收不收手续费</view>
				<u-icon name="arrow-right" color="#b9b8c5" size="30"></u-icon>
			</view>	
		</view>
    </view>
</template>

<script>
    export default {
        data() {
            return {
                
            };
        },
        onLoad() {
            
        },
        methods: {
            toDetails(item) {
				this.$gTo(`./details?id=${item.id}`)
			},
        }
    };
</script>

<style lang="scss">
    page{
        background-color: #f5f5f5;
    }
	.content{
		padding: 20rpx;
	}
	.wrapper{
		background-color: #fff;
		padding: 20rpx 25rpx;
		border-radius: 20rpx;
	}
	.item{
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 25rpx 0;
		border-bottom: 2rpx solid #e6e6e6;
	}
	.item:last-child{
		border-bottom: none;
	}
	.num{
		font-size: 36rpx;
		color: #979ba6;
		padding-right: 24rpx;
	}
	.active{
		color: #f76d0a;
	}
	.title{
		flex: 1;
		font-size: 30rpx;
		font-weight: bold;
		color: #17133c;
		padding-right: 20rpx;
	}

</style>
